Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: WASM package scoping and cleanup error class check #4596

Merged
merged 4 commits into from
May 23, 2023

Conversation

olgavrou
Copy link
Collaborator

No description provided.

@olgavrou olgavrou changed the title fix: WASM errors wrapped inside a custom JS class fix: WASM package scoping and cleanup error class check May 19, 2023
wasm/README.md Outdated
@@ -211,15 +211,15 @@ vwPromise.then((vw) => {

### How-To handle errors

Some function calls with throw if something went wrong or if they were called incorrectly. There are two type of errors that can be thrown: native JavaScript errors and WebAssembly runtime errors.
Some function calls with throw if something went wrong or if they were called incorrectly. There are two type of errors that can be thrown: native JavaScript errors and WebAssembly runtime errors which are wrapped in a VWError object.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only the latter one is wrapped in VWError or both? how should one read this last sentence?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@olgavrou olgavrou merged commit dd36d14 into VowpalWabbit:master May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants